/*
 * @(#)PayedFeeRecordBean.java 创建于 2016-07-14 14:54:49
 *
 * 版权：版权所有 Bsoft 保留所有权力。
 */
package hcn.protocol.ods.diagnosis;

import ctd.util.xml.jaxb.DateAdapter;
import ctd.util.xml.jaxb.DateTimeAdapter;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.util.Date;
import java.util.List;

/**
 * @author <a href="mailto:chinnsii@163.com">zhengshi</a>
 */
@XmlRootElement(name = "payedFeeRecord")
public class PayedFeeRecordBean extends BaseFeeRecordBean {

    private String patientId;
    private String patientName;
    private String sex;
    private String age;
    private String diagnosisRecordId;
    private Date payedDate;
    private String invoiceNo;
    private String barCode;
    private String tollCollector;
    private String tollCollectorName;
    private String executeFlag;
    private String executeDesc;
    private List<PayedFeeRecordGuideBean> guides;

    public String getPatientId() {
        return patientId;
    }

    public void setPatientId(String patientId) {
        this.patientId = patientId;
    }

    public String getDiagnosisRecordId() {
        return diagnosisRecordId;
    }

    public void setDiagnosisRecordId(String diagnosisRecordId) {
        this.diagnosisRecordId = diagnosisRecordId;
    }

    @XmlJavaTypeAdapter(DateTimeAdapter.class)
    public Date getPayedDate() {
        return payedDate;
    }

    public void setPayedDate(Date payedDate) {
        this.payedDate = payedDate;
    }

    public String getInvoiceNo() {
        return invoiceNo;
    }

    public void setInvoiceNo(String invoiceNo) {
        this.invoiceNo = invoiceNo;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public String getTollCollector() {
        return tollCollector;
    }

    public void setTollCollector(String tollCollector) {
        this.tollCollector = tollCollector;
    }

    public String getTollCollectorName() {
        return tollCollectorName;
    }

    public void setTollCollectorName(String tollCollectorName) {
        this.tollCollectorName = tollCollectorName;
    }

    public String getExecuteFlag() {
        return executeFlag;
    }

    public void setExecuteFlag(String executeFlag) {
        this.executeFlag = executeFlag;
    }

    public String getExecuteDesc() {
        return executeDesc;
    }

    public void setExecuteDesc(String executeDesc) {
        this.executeDesc = executeDesc;
    }

    @XmlElementWrapper(name = "guides")
    @XmlElement(name = "guide")
    public List<PayedFeeRecordGuideBean> getGuides() {
        return guides;
    }

    public void setGuides(List<PayedFeeRecordGuideBean> guides) {
        this.guides = guides;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }
}
